(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "maishu-jueying", "react", "./properties", "tips"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    const maishu_jueying_1 = require("maishu-jueying");
    const React = require("react");
    const properties_1 = require("./properties");
    const tips_1 = require("tips");
    class FieldsEditor extends maishu_jueying_1.PropEditor {
        render() {
            let { value } = this.props;
            return React.createElement(properties_1.PropertiesComponent, { name: "\u5546\u54C1\u89C4\u683C", properties: value, emptyText: tips_1.default.noProductRegular, changed: e => {
                    this.props.updateComponentProp(e);
                } });
        }
    }
    exports.FieldsEditor = FieldsEditor;
    class ArgumentsEditor extends maishu_jueying_1.PropEditor {
        render() {
            let { value } = this.props;
            return React.createElement(properties_1.PropertiesComponent, { name: "\u5546\u54C1\u53C2\u6570", properties: value, emptyText: tips_1.default.noProductRegular, changed: e => {
                    this.props.updateComponentProp(e);
                } });
        }
    }
    exports.ArgumentsEditor = ArgumentsEditor;
});
